﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RFIDSystem.Model.Models
{
    public class InspectionRecordViewModel
    {
        public long Id { get; set; }
       
        public string ActivatorName { get; set; }
        public string RFIDName { get; set; }
        public DateTime CreateTime { get; set; }
        public float Lat { get; set; }
        public float lng { get; set; }
        public float[] position { get; set; } = new float[2];
        public List<InspectionRecordChildren> childrens { get; set; }=new List<InspectionRecordChildren>();
    }
    public class InspectionRecordChildren
    {
        public string RFIDName { get; set; }
        public DateTime CreateTime { get; set; }
        public float Lat { get; set; }
        public float lng { get; set; }
        public float[] position { get; set; } = new float[2];
    }
}
